Original: http://docs.oracle.com/javaee/7/tutorial/doc/overview008.htmTranslation: Shi Zholin [email protected]1.8 Java EE 7 APIs in the Java Platform, standard Edition 7Several APIs that is required by the
Original: http://docs.oracle.com/javaee/7/tutorial/doc/overview009.htmTranslation: Shi Zholin [email protected]1.9 GlassFish Server ToolsGlassFish Server is a compliant implementation of the Java EE 7 platform. In addition to supporting all the APIs described in the previous
the benefits and drawbacks of using a browser to access asynchronous, lightweight processes on the server.
Design Patterns
Demonstrate knowledge of Java EE design Patterns Including:service Starter, Singleton, Bean Locator, Resource Binder, Dep Endency injection, Payload Extractor, Context Holder, and Thread Tracker.
Select an appropriate pattern for a given application challenge from the
WTP is very convenient to use the Eclipse IDE for Java EE developers, but it is too large and I like to configure on demand. First, let's understand what WTP is. The WTP (Web tools Platform) project expands on the Eclipse platform and is a toolset for developing Java EE WEB applications. WTP contains the following
annotated servlet, Context Listeners
MAP entities in Java persistence with the essential cardinalities including the Java side of Many-to-many relationships
Learn about mapping entities to stored procedures and entity graphs
Fully understand how to verify your POJO before they hits the database with Bean Validation API
Be prepared for the Java
Java EE 7 provides a complete, comprehensive, integrated stack to help you build enterprise and Web applications. Java EE container Mostly JSF (JavaServer Faces) and EJB (Enterprise Java Bean) Two parts, JSF relies on EJB, and is
It's been a while. Java EE 7 essence, this book will mainly Java EE 7 of several important areas, representing the Web a few of the most important areas.
1 servlet
2 JSF
3 Beans
4 WebServices SOAP-based Web services
5 WebSock
Programming Websocket endpoint in Java EE 7
This article will briefly demonstrate how to develop and deploy the Websocket endpoint by using the programming version of Java websocket API.
Step 1 -- extend the javax. websocket. Endpoint class
publicclassProgrammaticEchoEnpointextendsEndpoint{
@Override
p
Tags: SQL configuration in XML the Java EE Framework builds hibernate hibernate into the specified object TransformersIn order to avoid SQL written in Java code, so implement the function of type mybaits, write SQL statement in XML file, so that the SQL statement can be unified management, maintenance easier.1. First, a DTD file that configures the XML for the SQ
Java ee 7 API version specification
Eclipse4.3 supports javaee7 specifications:A series of specifications:
J2EE is a platform composed of a series of technical standards, including:
? Applet-Java Applet? EJB-Enterprise-level JavaBean (Enterprise Java Beans)? JAAS-
Original article:
Http://www.infoq.com/cn/news/2011/08/jprofiler7
J-Technologies Co., Ltd. released jprofiler 7.0 some time ago. Jprofiler is a Java SE/EE profiling tool that features CPU analysis, memory analysis, thread analysis, and Vm telemetry. New Features of version 7.0 include:
Analyze the built-in probes for JDBC, JMS, JNDI, Servlet, files, sockets, and processes.
You can use the API to customi
JSP pages* Generally do not develop the El function, El has its own definition of the function library (are some of the functions of the operation string)3, because in the JSP page display data, often need to deal with the displayed string, Sun company needle for some common processing defines a set of El function library for developers to use. These El functions are described in the Jstl development package, so use the Sun Company's El Library in the JSP page , you need to import the JSTL deve
, Fifth Floor, Boston, MA ~02110-1301USA,orSee theFSF site:http://www.fsf.org. -"urn:jboss:module:1.0"Name="Calculate"> "Calculate.jar"/> --Insert resources here--The emphasis is on the following Name property and the Resources child node and dependecies, which place the jar package file name, which places the dependency of this jar package.Once the above several files are ready, go to the Standalone\configuration folder and open the Standalone.xmlFind (113 rows or so), add code to this node,The
Tags: except token UIL cache group mode mapped ITER ApacheIn the previous article I introduced the basic method of configuring Shiro in the Java EE environment, but in the real development process we basically do notwill use profile-based user role configuration, in most cases we will store users, roles and permissions in the database, and then we tell Shiro to go to the database to fetch data, so the confi
Development tools: Eclipse LUMA (Requires Oracle Java EE 6 installed)JBoss Version: Jboss-as-web-7.0.2.finalThe following is a development step, and it is relatively straightforward to develop a deployment EJB in JBoss 7.Readers are required to properly install the above software platform and have mastered the ability to create Web engineering and develop Servlet
(Integer PersonID) { jdbctemplate.update ("Delete from person where id =?", New Object[]{personid}, New Int[]{java.sql.types.integer}); Jdbctemplate.update ("Delete from personxxx where id =?", New Object[]{personid}, New Int[]{java.sql.types.integer}); }If these two operations are in a transaction, then the following personxxx is not present will definitely error, then delete the transaction rollback then two will be rolled back, then the above bar can not be executed!!!Let's test it a
software development process and the use of relevant professional tools!Primary stage: Focus on Java core technology.Intermediate stage: Focus on javaweb development.Advanced stage: Focus on framework technology.Promotion phase: Focus on rich client technology.Project Training phase: Focus on software engineering and project combat.This course combined with the project, the actual combat library information management system, QQ chat room, business o
My Computer---Properties-----advanced system Settings---environment variables
Configuration: Java_home:
Select New System Variable--pops up the new User Variable dialog box, enters "Java_home" in the Variable name text box, enters the JDK installation path (the folder path for step 5) in the Variable Value text box, and clicks the OK button.
Configuration: Path Variable value:
View the path variable in the System Variables option area, or if it does not, create a new path, or select
this interface into a managed bean:
The @ Any qualifier
publicclassSomeBean{
@Inject
publicvoidlistServiceImplementations(
@AnyInstance
for(Serviceservice:serviceList){
System.out.println(service.getClass().getCanonicalName());
}
}
}
@ AnyThe modifier tells the container that any available dependencies apply to the injection point, so the container injects them. If we have multiple implementations of interfaces and we only inject one of them-without any exclusion
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.